package edu.sctu.zhangwang.month201505.day20150525.study1;

/**
 * Created by Administrator on 2015/5/25 0025.
 */
public class StringOne {
    /**
     * 比较字符串；
     */
    public String eqaulsString(String string){
        if (string.equals("钱")){
            return ("正确");
        }else {
            return("错误");
        }
//        System.out.println(string.length());
//        return string;
    }
    public String stringLength(String string){
        String http = string.substring(3, string.length());
        System.out.println(string.charAt(5));
        return http;
    }

//    public void charString(String string){
//        string.charAt()
//    }
}
